package net.egork.collections.comparators;

/**
 * @author Egor Kulikov (egorku@yandex-team.ru)
 */
public interface IntComparator {
    public static final IntComparator DEFAULT = new IntComparator() {
        public int compare(int first, int second) {
            if (first < second)
                return -1;
            if (first > second)
                return 1;
            return 0;
        }
    };

    public int compare(int first, int second);
}
